package com.shiguiwu.springboot3.feign;

import com.shiguiwu.springboot3.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.net.URI;

/**
 * @description: 动态url客户端
 * 动态的url有两种方式
 * 1，DynamicUrlInterceptor采用openFeign拦截器的方式
 * 2，使用uri方式
 * @author: stone
 * @date: Created by 2023/7/30 22:14
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.feign
 */
@FeignClient(name = "systemDynamicUrlClient")
public interface UserFeignDynamicUrlClient {

    @GetMapping("/user/test2")
    public R<Integer> test();

}
